package com.celesea.framework.authority;

import org.springframework.security.core.GrantedAuthority;

public class AuthorityPoint implements GrantedAuthority {
    private static final long serialVersionUID = -1L;

    /**
     * 权限CODE
     */
    private String authority;

    public AuthorityPoint(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

}